package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanApplyLogDao;
import com.open.system.domain.LoanApplyLogDO;
import com.open.system.service.LoanApplyLogService;



@Service
public class LoanApplyLogServiceImpl implements LoanApplyLogService {
	@Autowired
	private LoanApplyLogDao loanApplyLogDao;
	
	@Override
	public LoanApplyLogDO get(Long id){
		return loanApplyLogDao.get(id);
	}
	
	
	@Override
	public LoanApplyLogDO getLastNewData(Map<String,Object> map){
		return loanApplyLogDao.getLastNewData(map);
	}
	
	@Override
	public List<LoanApplyLogDO> list(Map<String, Object> map){
		return loanApplyLogDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return loanApplyLogDao.count(map);
	}
	
	@Override
	public List<LoanApplyLogDO> list2(Map<String, Object> map){
		return loanApplyLogDao.list2(map);
	}
	
	@Override
	public int count2(Map<String, Object> map){
		return loanApplyLogDao.count2(map);
	}
	
	@Override
	public int save(LoanApplyLogDO loanApplyLog){
		return loanApplyLogDao.save(loanApplyLog);
	}
	
	@Override
	public int update(LoanApplyLogDO loanApplyLog){
		return loanApplyLogDao.update(loanApplyLog);
	}
	
	@Override
	public int remove(Long id){
		return loanApplyLogDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanApplyLogDao.batchRemove(ids);
	}

	@Override
	public int updateHasemptyByUserId(Long id){
		return loanApplyLogDao.updateHasemptyByUserId(id);
	}

}
